package com.itestmini.testplatformbackend.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author moso
 * @Date 2024/12/25 22:50
 */

@Data
@Schema(name="列表查询的分页参数",description="请求参数类")
public class PageTableRequest<Dto extends BaseDto> implements Serializable {
    private static final long serialVersionUID = 7328071045193618467L;

    @Schema(name="页码",required=true, example = "1")
    private Integer pageNum = 1;

    @Schema(name="每页数据量",required=true, example = "10")
    private Integer pageSize = 10;

    @Schema(name="特定查询参数",required=true, example = "status=1")
    private Dto params;

}
